package com.example.b_308.myapplication.model.base;

/**
 * Created by B-308 on 2017/11/14.
 */
public class BaseCustomer extends BaseModel {

    String id;//客户id
    String customerName;//客户姓名
    String detailedAddress;//详细地址
    String companyName;//公司名称
    String department;//部门
    String title;//职位
    String phone;//手机
    String landLine;//座机
    String email;//邮箱
    String creator_company_id;//创建者公司
    String creator_id;//创建者id
    String creator_time;//创建时间

    public String getId() {
        if (null == id)
            id = getStr("id;");
        return id;
    }

    public String getCustomerName() {
        if ( null == customerName)
        customerName=getStr("customerName;");
        return customerName;
    }

    public String getDetailedAddress() {
        if ( null == detailedAddress)
        detailedAddress=getStr("detailedAddress;");
        return detailedAddress;
    }

    public String getCompanyName() {
        if ( null == companyName)
        companyName=getStr("companyName;");
        return companyName;
    }

    public String getDepartment() {
        if ( null == department)
        department=getStr("department;");
        return department;
    }

    public String getTitle() {
        if (null == title)
            title = getStr("title;");
        return title;
    }

    public String getPhone() {
        if ( null == phone)
        phone=getStr("phone;");
        return phone;
    }

    public String getLandLine() {
        if ( null == landLine)
        landLine=getStr("landLine;");
        return landLine;
    }

    public String getEmail() {
        if ( null == email)
        email=getStr("email;");
        return email;
    }

    public String getCreator_company_id() {
        if (null == creator_company_id)
            creator_company_id = getStr("creator_company_id;");
        return creator_company_id;
    }

    public String getCreator_id() {
        if (null == creator_id)
            creator_id = getStr("creator_id;");
        return creator_id;
    }

    public String getCreator_time() {
        if (null == creator_time)
            creator_time = getStr("creator_time;");
        return creator_time;
    }

    public void setId(String id){
       put("id",id);
       this.id=id;
   }

    public void setCustomerName(String customerName) {
        put("customerName", customerName);
        this.customerName = customerName;
    }

    public void setDetailedAddress(String detailedAddress) {
        put("detailedAddress", detailedAddress);
        this.detailedAddress = detailedAddress;
    }

    public void setCompanyName(String companyName) {
        put("companyName", companyName);
        this.companyName = companyName;
    }

    public void setDepartment(String department) {
        put("department", department);
        this.department = department;
    }

    public void setTitle(String title) {
        put("title", title);
        this.title = title;
    }

    public void setPhone(String phone) {
        put("phone", phone);
        this.phone = phone;
    }

    public void setLandLine(String landLine) {
        put("landLine", landLine);
        this.landLine = landLine;
    }

    public void setEmail(String email) {
        put("email", email);
        this.email = email;
    }

    public void setCreator_company_id(String creator_company_id) {
        put("creator_company_id", creator_company_id);
        this.creator_company_id = creator_company_id;
    }

    public void setCreator_id(String creator_id) {
        put("creator_id", creator_id);
        this.creator_id = creator_id;
    }

    public void setCreator_time(String creator_time) {
        put("creator_time", creator_time);
        this.creator_time = creator_time;
    }
}